﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using NHibernate.Mapping.ByCode;
using NHibernate.Mapping.ByCode.Conformist;

namespace Laugh.Example.Domain.Mapping
{
    public class FunctionMapping : ClassMapping<Function>
    {
        public FunctionMapping()
        {
            Id(p => p.Id, m => m.Generator(Generators.Identity));

            Property(p => p.PersonId);

            Table("ZZH_FUNCTION");
        }
    }
}